package com.yuantu.judiciary.model.vo;

import com.yuantu.judiciary.model.enums.OrganizationType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * 组织列表数据
 *
 * @author syw
 * @since 2023-09-01
 **/
@Data
@ApiModel("组织来源组织数据")
@AllArgsConstructor
@NoArgsConstructor
public class OrgSourceOrganizationVO {

    @ApiModelProperty("企业id")
    private Long organizationId;
    @NotBlank
    @ApiModelProperty("企业名称")
    private String enterName;
    @NotNull
    @ApiModelProperty("企业来源id")
    private Long orgSourceId;
    @NotBlank
    @ApiModelProperty("企业来源")
    private String orgSource;
    @ApiModelProperty("企业地址")
    private String enterAddr;
    @NotBlank
    @ApiModelProperty("信用代码")
    private String creditCode;
    @ApiModelProperty("纳税人识别号")
    private String taxpayerCode;
    @ApiModelProperty("营业执照")
    private String license;
    @ApiModelProperty("注册时间")
    private Timestamp registerTime;
    @ApiModelProperty("企业授权文件路径")
    private String authFile;
    @ApiModelProperty("查询个人授权文件路径")
    private String perAuthFile;
    @ApiModelProperty("查询企业授权文件路径")
    private String entAuthFile;
    @ApiModelProperty("是否需要上传查询个人授权书")
    private Boolean needPerAuthFile;
    @ApiModelProperty("是否需要上传查询企业授权书")
    private Boolean needEntAuthFile;

}
